package com.meteor.user.service;

import com.meteor.framework.common.utils.PageResult;
import com.meteor.framework.mybatis.service.BaseService;
import com.meteor.user.entity.SysRole;
import com.meteor.user.query.SysRoleOrgQuery;
import com.meteor.user.query.SysRoleQuery;
import com.meteor.user.query.SysRoleUserQuery;
import com.meteor.user.vo.SysRoleDataScopeVO;
import com.meteor.user.vo.SysRoleVO;
import com.meteor.user.vo.SysUserVO;

import java.util.List;

/**
 * 角色
 * 
 * @author lynn
 * @date 2024/1/03
 */
public interface SysRoleService extends BaseService<SysRole> {

	PageResult<SysRoleVO> page(SysRoleQuery query);

	List<SysRoleVO> getList(SysRoleQuery query);

	void save(SysRoleVO vo);

	void update(SysRoleVO vo);

	void dataScope(SysRoleDataScopeVO vo);

	void delete(List<String> idList);

    List<SysRoleVO> roleMerchantOrg(SysRoleOrgQuery query);
}
